﻿<%@ Page Title="" Language="C#" MasterPageFile="~/StuMaster.Master" AutoEventWireup="true"
    CodeBehind="StuMessageList.aspx.cs" Inherits="LIMS.Web.StuMessageList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <img src="images/liuyan.jpg" height="35" alt="" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            
            <asp:Repeater ID="rpMessage" runat="server" OnItemDataBound="rpMessaget_OnItemDataBound">
                <HeaderTemplate>
                    <table border="1" width="100%">
                        <tr align="center">
                            <th>
                                序号
                            </th>
                            <th>
                                留言标题
                            </th>
                            <th>
                                留言时间
                            </th>
                            <th>
                                留言内容
                            </th>
                            <th>
                                是否回复
                            </th>
                            <th>
                                回复人
                            </th>
                            <th>
                                回复内容
                            </th>
                        </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr align="center">
                        <td>
                            <%#Container.ItemIndex+1 %>
                        </td>
                        <td>
                            <%#Eval("mesTitle")%>
                        </td>
                        <td>
                            <%#Eval("mesTime", "{0:yyyy-MM-dd hh:mm:ss}")%>
                        </td>
                        <td align="left">
                            <%# Eval("mesDetail")%>
                        </td>
                        <td>
                            <%#ConventCodeToString(Eval("mesStatusCode"))%>
                        </td>
                        <td>
                            <%#ConventIdToName(Eval("mesAdminId"))%>
                        </td>
                        <td>
                            <%#Eval("mesReply")%>
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
            <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CustomInfoHTML="总记录数:%RecordCount%, 总页数:%PageCount%, 当前为第 %CurrentPageIndex% 页"
                FirstPageText="<<" LastPageText=">>" LayoutType="Div" NextPageText=">" NumericButtonCount="6"
                PageIndexBoxType="DropDownList" PageSize="1" PrevPageText="<" ShowNavigationToolTip="true"
                PagingButtonSpacing="6px" ShowCustomInfoSection="Right" OnPageChanged="AspNetPager1_PageChanged"
                Font-Size="12px" HorizontalAlign="Center" Width="100%" AlwaysShow="true" CustomInfoSectionWidth="40%">
            </webdiyer:AspNetPager>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
